< Prev(J) / Next(K) > / View :

Filename: /text/shared/explorer/database/dabaadvpropgen.xhp

(section: generated)

Generated Values
生成値(par_idN10553.)

Specifies the options for automatically generated values for new data records.
新規データレコード用に自動生成される値用のオプションを指定します。(par_idN10563.)

(/section: generated)

(par_idN10578.)

The availability of the following controls depends on the type of database:
以下のコントロールの利用可能な範囲は、データベースのタイプによって変わります。(par_id7684560.)

Retrieve generated values
生成値の回復(par_idN1058C.)

Enables Office support for auto-incremented data fields in the current ODBC or JDBC data source. Select this option if the auto-increment feature in the SDBCX layer of the database is not supported. In general, the auto-increment is selected for the primary key field.
現在の ODBC または JDBC データソース中の自動増分データフィールドに対する Office によるサポートを利用可能にします。データベースの SDBCX レイヤー中で、自動増分機能がサポートされていない場合に、このオプションを選択します。標準では、自動増分機能は主キーフィールド用に選択されています。(par_idN10590.)

Auto-increment statement
オートインクリメント命令文(par_idN10593.)

Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field. For example, the following MySQL statement used the AUTO_INCREMENT statement to increase the "id" field each time the statement creates a data field:
データソースに対して、指定した Integer 型のデータフィールドを自動増分するよう指示する SQL コマンド指定子を入力します。たとえば、次の MySQL 文では、この文でデータフィールドが作成されるたびに、「id」フィールドを増分するよう、AUTO_INCREMENT 文によって指定されています。(par_idN10597.)

CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)
CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)(par_idN105A0.)

For this example, you must enter AUTO_INCREMENT into the Auto-increment statement box.
この例の場合、Auto-increment statement ボックスに AUTO_INCREMENT を入力する必要があります。(par_idN10634.)

Query of generated values
生成値のクエリー(par_idN105AA.)

Enter an SQL statement that returns the last auto-incremented value for the primary key data field. For example:
プライマリキーデータフィールドの自動増分された最後の値を返す SQL 文を入力します。次に例を示します:(par_idN10645.)

SELECT LAST_INSERT_D();
SELECT LAST_INSERT_D();(par_idN105B1.)


< Prev / Next >